package edu.sctu.fengleilin.month05.day150505;

/**
 * Created by user09 on 2015/5/5.
 */
public class TextMain {
    public static void main(String[] args) {
        TextTwo textTwo = new TextTwo();
        textTwo.color = "white";
        textTwo.size = 10;
        textTwo.action = "run";
        textTwo.getInfo(new TextInterFace() {
            @Override
            public void getInfo(String color, int size, String action) {
                System.out.println("color = "+color+"size = "+size+"action = "+action);
            }

        });

    }
}